﻿namespace RandomMobileNumber.ViewModels
{
    public class ViewModelLocator
    {
        private static MainViewModel _main;
        private static NumberPropertyViewModel _number;
        private static SoldViewModel _sold;
        private static ReservedViewModel _reserved;

        public ViewModelLocator()
        {
            _main = new MainViewModel();
            _number = new NumberPropertyViewModel();
            _sold = new SoldViewModel();
            _reserved = new ReservedViewModel();
        }

        public MainViewModel Main { get { return _main; } }
        public NumberPropertyViewModel NumberProperty { get { return _number; } }
        public SoldViewModel Sold { get { return _sold; } }
        public ReservedViewModel Reserved { get { return _reserved; } }
    }
}

